package com.sitech.portal.system.service.impl;

import java.util.ArrayList;
import java.util.List;

import com.sitech.ibnms.common.form.TreeNode;
import com.sitech.ibnms.common.service.IAsyncTreeService;
import com.sitech.portal.system.dao.ISysCompanyDao;
import com.sitech.portal.system.domain.TblSYS_COMPANY;
import com.sitech.portal.system.service.ISysCompanyService;

public class SysCompanyServiceImpl implements ISysCompanyService {

	private ISysCompanyDao sysCompanyDao;
	
	public ISysCompanyDao getSysCompanyDao() {
		return sysCompanyDao;
	}

	public void setSysCompanyDao(ISysCompanyDao sysCompanyDao) {
		this.sysCompanyDao = sysCompanyDao;
	}

	@Override
	public void add(TblSYS_COMPANY tblSYS_COMPANY) {
		// TODO Auto-generated method stub
		sysCompanyDao.add(tblSYS_COMPANY);
	}

	@Override
	public void delete(TblSYS_COMPANY tblSYS_COMPANY) {
		// TODO Auto-generated method stub
		sysCompanyDao.delete(tblSYS_COMPANY);
	}

	@Override
	public List findByList(TblSYS_COMPANY obj) {
		// TODO Auto-generated method stub
		return sysCompanyDao.findByList(obj);
	}

	@Override
	public List findCompanyHaveChildByList(TblSYS_COMPANY obj) {
		// TODO Auto-generated method stub
		return sysCompanyDao.findCompanyHaveChildByList(obj);
	}

	@Override
	public TblSYS_COMPANY findCompanyObjByPk(TblSYS_COMPANY obj) {
		// TODO Auto-generated method stub
		return sysCompanyDao.findCompanyObjByPk(obj);
	}

	@Override
	public String generateKey() {
		// TODO Auto-generated method stub
		return sysCompanyDao.generateKey();
	}

	@Override
	public void update(TblSYS_COMPANY tblSYS_COMPANY) {
		// TODO Auto-generated method stub
		sysCompanyDao.update(tblSYS_COMPANY);
	}

}
